// cover some element-ui styles

/* 取消input的上下箭头 */
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
}

input::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type='file'] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

.el-dialog__header {
  border-bottom: 1px solid #efefef;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-collapse {
  background: #fff;
}

.el-collapse-item {
  margin: 0 20px;
}

// +++++++++++++++++++++++++++++++++++++++++++++++++++++++

.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

// post course css
.theme-color {
  color: #EB6310;
}

.theme-button+.theme-button {
  margin-left: 20px;
}

.theme-button {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: #ed5901;
  border: 1px solid #ed5901;
  color: #fff;
  -webkit-appearance: none;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  margin: 0;
  transition: 0.1s;
  font-weight: 500;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 4px;

  &:hover {
    opacity: 0.8;
  }
}

.plain {
  background: #fff;
  border: 1px solid #ed5901;
  color: #ed5901;
  border-width: 2px;
}

.btn-download+.btn-download {
  margin-left: 10px;
}

.btn-download {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dcdfe6;
  color: #606266;
  -webkit-appearance: none;
  text-align: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: 0;
  margin: 0;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  -webkit-transition: 0.1s;
  transition: 0.1s;
  font-weight: 500;
  padding: 12px 20px;
  // font-size: 14px;
  font-size: 15px;
  border-radius: 4px;

  &:focus,
  &:hover {
    color: #ed5901;
    border-color: #ed5901;
  }
}

// +++++++++++++++++++++++++++++++++++++++++++++++++++++++

// work-flow -- el-form

.step-wrapper,
.form-wrapper {
  background: #fff;
  padding: 20px;
  border-radius: 4px;
}

// .form-wrapper {
//   margin-top: 20px;
// }

.patination-wrapper {
  text-align: center;
  margin-top: 20px;
}

.line {
  text-align: center;
}

.span-wrapper {
  margin-right: 10px;
  color: #999;
}

// el-table
.table-wrapper {
  width: 100%;
}

// container
.container {
  margin: 20px;
}

.wrapper-bottom {
  margin-bottom: 20px;
}

.wrapper-top {
  margin-top: 20px;
}

.flex-row-wrapper {
  display: flex;
  justify-content: space-between;
}

.button-float-right {
  float: right;
  margin-right: 15px;
}

.back {
  background-color: #fff;
}

.mar_20 {
  margin: 20px;
}

.mar_top_20 {
  margin-top: 20px;
}

.mar_left_20 {
  margin-left: 20px;
}

.mar_right_20 {
  margin-right: 20px;
}

// search bar
.mar_bottom_22 {
  margin-bottom: 22px;
}

.mar_bottom_20 {
  margin-bottom: 20px;
}

.mar_bottom_90 {
  margin-bottom: 90px;
}

.mar_bottom_150 {
  margin-bottom: 150px;
}

.wh_100 {
  width: 100%;
}

.t-right {
  text-align: right;
}

.dialog-footer {
  text-align: center;
}

// +++++++++++++++++++++++++++++++ block +++++++++++++++++++++++++++++++
.container_24 {
  width: 1200px;
  margin: 0 auto;
}